package io.transaction.msg.stock.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Stock implements Serializable {

    private static final long serialVersionUID = 212234967523475049L;

    private Long id;

    /**
     * 商品id.
     */
    private Long productId;

    /**
     * 总库存
     */
    private Integer totalCount;

}
